package Cain.fb.event
{
	import Cain.fb.Fb_API;
	/**
	 * 朋友
	 * @author cain in liontravel 2010
	 */
	public class Friend
	{
		private var my_name:String;
		private var my_uid:int;
		/**
		 * 朋友資料
		 * @param	_name 名子
		 * @param	_uid uid
		 */
		public function Friend(_name:String,_uid:int) 
		{
			my_name = _name;
			my_uid = _uid;
		}
		/**
		 * 名子
		 */
		public function get name():String 
		{
			return my_name;
		}
		/**
		 * uid
		 */
		public function get uid():int 
		{
			return my_uid;
		}
		/**
		 * 頭像路徑 150x150
		 */
		public function get picture():String 
		{
			return Fb_API.getPicture(my_uid);
		}
		/**
		 * 頭像路徑 50x50
		 */
		public function get picture_s():String 
		{
			return Fb_API.getPicture(my_uid,false);
		}
	}

}